package com.wkbb.sports.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wkbb.sports.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author lbh
 * @date 2021年03月29日 17:58:34
 * @description:   作业信息要求数据传输包装类
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class WorkStuDto extends BaseEntity {
    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "学生名称")
    private String studentName;
    @ApiModelProperty(value = "班级名称")
    private String className;
    @ApiModelProperty(value = "成绩")
    private Double achivement;
    @ApiModelProperty(value = "次数")
    private Integer total;
    @ApiModelProperty(value = "实际时长(单位：秒)")
    private Integer actualTime;
    @ApiModelProperty(value = "学号")
    private String userNo;
    @ApiModelProperty(value = "是否达标(0未达标/1已达标)")
    private Integer reached;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
